"use strict"

/**
 * 测试文件，专门测试爬虫
 *  
 */

if (process.argv.length < 3) {
    console.log("Usage: node test.js spider-module-name");
    process.exit();
}

var module_name = process.argv[2];
console.log("current test module: " + module_name);

var schdl = require("./schdl");
schdl.testmodule = module_name;
schdl.option = "newitem";
schdl.start();
